class CreateVisitors < ActiveRecord::Migration
  def self.up
    create_table :visitors do |t|
      t.string :name
      t.string :phone
      t.string :email
      t.integer :visits
      t.references :event
      t.timestamps
    end
  end

  def self.down
    drop_table :visitors
  end
end
